
package us.hornerscorners.lollipop.config;

/*
* #%L
 * * LollipopRouter
 * *
 * %%
 * Copyright (C) 2013 - 2014 Jim Horner
 * *
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public
 * License along with this program.  If not, see
 * <http://www.gnu.org/licenses/gpl-3.0.html>.
 * #L%
 */

import java.util.UUID;


/**
 * Class description
 *
 *
 * @version        v1.0, 2014-09-06
 * @author         Jim Horner
 */
public class RoutingConfig {

    /** Field description */
    private String endpoint;

    /** Field description */
    private String messageType;

    /** Field description */
    private String name;

    /** Field description */
    private String receivingApplication;

    /** Field description */
    private String receivingFacility;

    /** Field description */
    private Integer responseTimeout;

    /** Field description */
    private String sendingApplication;

    /** Field description */
    private String sendingFacility;

    /** Field description */
    private String triggerEvent;

    /** Field description */
    private String version;

    /**
     * Constructs ...
     *
     */
    public RoutingConfig() {

        super();

        this.name = UUID.randomUUID().toString();
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public String getEndpoint() {
        return endpoint;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public String getMessageType() {
        return messageType;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public String getName() {
        return name;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public String getReceivingApplication() {
        return receivingApplication;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public String getReceivingFacility() {
        return receivingFacility;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public Integer getResponseTimeout() {
        return responseTimeout;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public String getSendingApplication() {
        return sendingApplication;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public String getSendingFacility() {
        return sendingFacility;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public String getTriggerEvent() {
        return triggerEvent;
    }

    /**
     * Method description
     *
     *
     * @return
     */
    public String getVersion() {
        return version;
    }

    /**
     * Method description
     *
     *
     * @param endpoint
     */
    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    /**
     * Method description
     *
     *
     * @param messageType
     */
    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    /**
     * Method description
     *
     *
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Method description
     *
     *
     * @param receivingApplication
     */
    public void setReceivingApplication(String receivingApplication) {
        this.receivingApplication = receivingApplication;
    }

    /**
     * Method description
     *
     *
     * @param receivingFacility
     */
    public void setReceivingFacility(String receivingFacility) {
        this.receivingFacility = receivingFacility;
    }

    /**
     * Method description
     *
     *
     * @param responseTimeout
     */
    public void setResponseTimeout(Integer responseTimeout) {
        this.responseTimeout = responseTimeout;
    }

    /**
     * Method description
     *
     *
     * @param sendingApplication
     */
    public void setSendingApplication(String sendingApplication) {
        this.sendingApplication = sendingApplication;
    }

    /**
     * Method description
     *
     *
     * @param sendingFacility
     */
    public void setSendingFacility(String sendingFacility) {
        this.sendingFacility = sendingFacility;
    }

    /**
     * Method description
     *
     *
     * @param triggerEvent
     */
    public void setTriggerEvent(String triggerEvent) {
        this.triggerEvent = triggerEvent;
    }

    /**
     * Method description
     *
     *
     * @param version
     */
    public void setVersion(String version) {
        this.version = version;
    }
}
